﻿using System;
using System.Collections.Generic;
using TidyBlog.Entity;
using TidyBlog.Data;

namespace TidyBlog.MVC.WWW.Models
{
    public class ListWithPaginator<T>
    {
        /// <summary>
        /// 获取或设置搜索条件
        /// </summary>
        public Dictionary<string, string> SearchParams { get; set; }
        /// <summary>
        /// 获取或设置搜索结果
        /// </summary>
        public DataPaging<T> Result { get; set; }
        /// <summary>
        /// 获取或设置搜索结果分页条
        /// </summary>
        public Paginator ResultPaginator { get; set; }
    }
}